#!/usr/bin/env python
# coding=utf-8


class Base(object):
    def __init__(self):
        print "Base created"


class ChildA(Base):
    def __init__(self):
        Base.__init__(self)


class ChildB(Base):
    def __init__(self):
        super(ChildB, self).__init__()
        # super().__init__() # python 2.7 not supported


if __name__ == '__main__':
    print ChildA()
    print ChildB()
'''
    Base created
    <__main__.ChildA object at 0x000000000290F128>
    Base created
    <__main__.ChildB object at 0x000000000290F128>
    从此结果可以看出，类的占用地址，与最终的init有关
'''
